
	<div class="well well-lg">
      <div class="container">
		
       <div class="row">		  
		  <?php
			if($ecards){
				foreach($ecards as $card){
		 ?>
			 <div class="col-sm-6 col-md-4">
			<div class="thumbnail">
			  <img data-src="holder.js/300x200" src="<?php echo base_url($card['thumb']);?>" class="img-responsive" alt="<?php echo $card['title'];?>">
			  <div class="caption">
				<h3><?php echo $card['title'];?></h3>
				<p><?php echo $card['info'];?></p>
				<p><a href="<?php echo site_url('ecard/makeEcard/'.$card['id'])?>" class="btn btn-primary" role="button">使用此模板</a> <a href="#" class="btn btn-default" role="button">案例</a></p>
			  </div>
			</div>
		  </div>
		<?php
				}
			}
		  ?>
		 
		</div>
      </div>
</div>
    <div class="container">
      <!-- Example row of columns -->
      <div class="row">
        <div class="col-md-4">
          <h2>个性名片</h2>
          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
          <p><a class="btn btn-default" href="<?php echo site_url('ecard/index');?>" role="button">定制名片 &raquo;</a></p>
        </div>
        <div class="col-md-4">
          <h2>个性素材</h2>
          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
          <p><a class="btn btn-default" href="<?php echo site_url('resources')?>" role="button">管理我的素材 &raquo;</a></p>
       </div>
        <div class="col-md-4">
          <h2>优秀作品</h2>
          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
          <p><a class="btn btn-default" href="#" role="button">更多名片 &raquo;</a></p>
        </div>
      </div>

    </div> <!-- /container -->
